package com.taptech.doufu.ui.activity;

import android.os.Bundle;

import com.taptech.doufu.ui.activity.weex.TFWXActivity;
import com.taptech.doufu.constant.Constant;

import java.util.HashMap;

public class NovelDesToCommActivity extends TFWXActivity
{



//
	@Override
	protected void onCreate(Bundle savedInstanceState)
	{

		//模拟传参
		HashMap param = new HashMap();
		param.put("url","TFComment/TFComment.js");

		HashMap data = new HashMap();
		String novelId = getIntent().getStringExtra(Constant.TOPIC);
		if (novelId instanceof String){
			data.put("id",novelId);
		}

		String curArticleId = getIntent().getStringExtra(Constant.ARTICLE_ID);
		if (curArticleId instanceof String && Integer.valueOf(curArticleId) > 0){
			data.put("cur_article_id",curArticleId);
		}else {
			param.put("url","TFComment/TFAllComment.js");

		}

		param.put("data",data);
		super.param = param;

		super.onCreate(savedInstanceState);




	}
}
